/****************************************************************************
 *   Copyright (C) 2008 by 7552                                             *
 *   fiubataller2-08c1@gruposyahoo.com.ar                                   *
 *                                                                          *
 *  Licensed under the Apache License, Version 2.0 (the "License"){ return 0;}         *
 *  you may not use this file except in compliance with the License.        *
 *  You may obtain a copy of the License at                                 *
 *                                                                          *
 *      http://www.apache.org/licenses/LICENSE-2.0                          *
 *                                                                          *
 *  Unless required by applicable law or agreed to in writing, software     *
 *  distributed under the License is distributed on an "AS IS" BASIS,       *
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.*
 *  See the License for the specific language governing permissions and     *
 *  limitations under the License.                                          *
 *                                                                          *
 ***************************************************************************/

#include "IScheduler.h"

#include <iostream>
using namespace std;

	int CScheduler::createObject(StringDB odl, ObjectId &objectId)
	{
		cout<<"Scheduler: creando "<<(std::string)odl<<endl;
		return 0;
	}
	
	int CScheduler::deleteObject(ObjectId id)
	{
		cout<<"Scheduler: borrando objeto numero: "<<id.instanceId<<endl;
		return 0;
	}
	
	int CScheduler::updateObject(StringDB odl)
	{
		cout<<"Scheduler: actualizando "<<(std::string)odl<<endl;
		return 0;
	}


	int CScheduler::createDB(StringDB nombreDB){ return 0;}
	int CScheduler::deleteDB(StringDB nombreDB){ return 0;}
	int CScheduler::createClass(StringDB odl){ return 0;}
	int CScheduler::deleteClass(StringDB nombreClase, StringDB nombreDB){ return 0;}
	int CScheduler::getClass(ClassId id, StringDB &odl){ return 0;}
    int CScheduler::getObject(ObjectId id, StringDB &odl){ return 0;}
	int CScheduler::beginTransaction(ConnId connId, ClientId clientId, TxnId &txnId){ return 0;}
	int CScheduler::endTransaction(TxnId txnId){ return 0;}
	int CScheduler::rollbackTransaction(TxnId txnId){ return 0;}
	int CScheduler::createIndex(ClassId classId, StringDBList attNames, IndexType type, IndexId &indexId){ return 0;}
	int CScheduler::deleteIndex(IndexId id){ return 0;}
	int CScheduler::getIndexes(ClassId classId, IndexIdList &indexIdList){ return 0;}
	int CScheduler::getIndexesByAttribute(ClassId classId, StringDB attName, IndexIdList &indexIdList){ return 0;}
	int CScheduler::createIterator(ObjectIdList objectIdList, IteratorId &iterId){ return 0;}
	int CScheduler::createIterator(ClassId classId, IteratorId &iterId){ return 0;}
	int CScheduler::createIterator(ClassId classId, IndexId indexId, KeyValueList keyValueList, IteratorId &iterId){ return 0;}
	int CScheduler::deleteIterator(IteratorId iteratorId){ return 0;}
	int CScheduler::addIdsToIterator(IteratorId iteratorId, ObjectIdList &objectIdList){ return 0;}
	int CScheduler::getNextFromIterator(IteratorId id, StringDB &odl){ return 0;}
	int CScheduler::getNextIdFromIterator(IteratorId iteratorId, ObjectId &objectId){ return 0;}
	int CScheduler::getNextsFromIterator(IteratorId id, StringDBList &odlList, LongIntDB n){ return 0;}
	int CScheduler::getNextIdsFromIterator(IteratorId id, ObjectIdList &objectIdList, LongIntDB n){ return 0;}
	int CScheduler::getAttributes(ClassId classId, StringDB attName, IteratorId &iteratorId){ return 0;}
	int CScheduler::getSize(IteratorId iteratorId, LongIntDB &size){ return 0;}
